﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Abreu.Profile.ObjectClasses
{
    public class ApplicationInfo
    {
        #region Class Members
        private int _applicationId;
        private int? _systemId;
        private int? _precedentApplicationId;
        private String _languageId;
        private String _name;
        private String _applicationDescription;
        private int _level;
        private Boolean _isAutoManagement;
        private Char _status;
        #endregion 

        #region Properties
        public int ApplicationId
        {
            get { return _applicationId; }
            set { _applicationId = value; }
        }

        public int? SystemId
        {
            get { return _systemId; }
            set { _systemId = value; }
        }

        public int? PrecendentApplicationId
        {
            get { return _precedentApplicationId; }
            set { _precedentApplicationId = value; }
        }

        public String LanguageId
        {
            get { return _languageId; }
            set { _languageId = value; }
        }

        public String Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public String ApplicationDescription
        {
            get { return _applicationDescription; }
            set { _applicationDescription = value; }
        }

        public int Level
        {
            get { return _level; }
            set { _level = value; }
        }

        public Boolean IsAutoManagement
        {
            get { return _isAutoManagement; }
            set { _isAutoManagement = value; }
        }

        public Char Status
        {
            get { return _status; }
            set { _status = value; }
        }
        #endregion

        #region Constructor
        public ApplicationInfo(int applicationId, int? systemId, int? precendentApplicationId, String languageId, String name, String applicationDescription,
                               int level, Boolean isAutoManagement, Char status)
        {
            ApplicationId = applicationId;
            SystemId = systemId;
            PrecendentApplicationId = precendentApplicationId;
            LanguageId = languageId;
            Name = name;
            ApplicationDescription = applicationDescription;
            Level = level;
            IsAutoManagement = isAutoManagement;
            Status = status;
        } 
	    #endregion
    }
}
